package com.ruoyi.purchase.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 供应商对象 firm_supplier
 * 
 * @author ruoyi
 * @date 2023-07-16
 */
public class FirmSupplier extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 名称 */
    private Long id;

    /** 联系人 */
    @Excel(name = "联系人")
    private String name;

    /** 手机号 */
    @Excel(name = "手机号")
    private String contacts;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String email;

    /** 传真 */
    @Excel(name = "传真")
    private String fax;

    /** 开户行 */
    @Excel(name = "开户行")
    private String openBank;

    /** 账号 */
    @Excel(name = "账号")
    private String account;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setContacts(String contacts) 
    {
        this.contacts = contacts;
    }

    public String getContacts() 
    {
        return contacts;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setFax(String fax) 
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }
    public void setOpenBank(String openBank) 
    {
        this.openBank = openBank;
    }

    public String getOpenBank() 
    {
        return openBank;
    }
    public void setAccount(String account) 
    {
        this.account = account;
    }

    public String getAccount() 
    {
        return account;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("contacts", getContacts())
            .append("phone", getPhone())
            .append("email", getEmail())
            .append("fax", getFax())
            .append("openBank", getOpenBank())
            .append("account", getAccount())
            .append("address", getAddress())
            .append("remark", getRemark())
            .toString();
    }
}
